package com.pansky.crm.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pansky.crm.entity.Department;
import com.pansky.crm.entity.Privilege;
import com.pansky.crm.entity.Role;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author ：zhouzhiyong
 * @date ：Created in 2021/2/22 9:28
 * @description：员工详细信息
 */
@Data
public class EmployeeInfo implements Serializable {
    private static final long serialVersionUID = 7241551205682130290L;

    private Integer id;
    private String loginName;
    private String actualName;
    private Role role;
    private String nickName;
    private String phone;
    private String idCard;
    private Date birthday;
    private String email;
    private Department department;
    private Boolean isLeave;
    private Boolean isDisabled;
    private String remark;
    private Integer createUser;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy年MM月dd日 HH:mm:ss")
    private Date updateTime;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy年MM月dd日 HH:mm:ss")
    private Date createTime;
    private Boolean isDelete;
    private List<Privilege> privilegeList;
    private String xaccessToken;
}
